import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import Administrator from 'src/entities/administrator.entity';
import { AdministratorModelService } from './administrator-model.service';

@Global()
@Module({
  imports : [
    TypeOrmModule.forFeature([Administrator])
  ],
  providers: [AdministratorModelService],
  exports : [AdministratorModelService]
})
export class AdministratorModelModule {}
